package com.bailiban.service.impl;

import com.bailiban.entity.Oversea;
import com.bailiban.repository.OverseaRepository;
import com.bailiban.service.OverseaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhulang
 * @Classname OverseaServiceImpl
 * @Description TODO
 * @Date 2020/4/5 18:07
 */
@Service
public class OverseaServiceImpl implements OverseaService {
    @Autowired
    private OverseaRepository overseaRepository;
    @Override
    public List<Oversea> findAll() {
       return overseaRepository.findAll();
    }
}
